//
//  ViewController.m
//  Creating Classes and Objects
//
//  Created by iD Student on 6/27/13.
//  Copyright (c) 2013 iD Student. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    
    Person *P = [[Person alloc] init];
    int age = [P getAge];
    NSLog([[NSString alloc]initWithFormat:@"%d", age]);
    
    Person *person = [[Person alloc] init];
    [person setAge:13];
    int currentAge = [person getAge];
    NSLog([[NSString alloc]initWithFormat:@"%d", currentAge]);
    [person setName:@"Jimmy"];
    NSMutableString *getName = [person getName];
    NSLog(getName);
    
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
